package com.wise.model.content.utils;

import com.wise.framework.basic.IEnum;

public enum UseCodeType implements IEnum<Integer> {
	/**
	 * 注册
	 */
	register(1, "注册", "SMS_161380190", "[BYTON]您好, 您的注册验证码为{code}"),

	/**
	 * 登录
	 */
	login(2, "登录", "SMS_161385187", "[BYTON]您好, 您的登录验证码为{code}"),

	/**
	 * 修改
	 */
	modify(3, "修改", "", ""),

	/**
	 * 校验银行卡预留手机号
	 */
	bank_mobile(4, "银行卡手机号", "SMS_165416359", "[BYTON]您好, 您的退款银行卡验证码为{code}"),

	bind_mobile(5, "绑定手机号", "SMS_166865281", "[BYTON]您好, 您的绑定手机号验证码为{code}"),

	preorder_verify(6, "preorder下单验证", "", "[BYTON]您好, 您的下单验证码为{code}"),

	DEFAULT(99, "默认方式", "", "");


	private Integer value;

	private String title;

	private String smsTemplateCode;

	private String smsTemplateContent;

	UseCodeType(Integer value, String title, String smsTemplateCode, String smsTemplateContent) {
		this.value = value;
		this.title = title;
		this.smsTemplateCode = smsTemplateCode;
		this.smsTemplateContent = smsTemplateContent;
	}

	@Override
	public Integer value() {
		return value;
	}

	@Override
	public String title() {
		return title;
	}

	public String getSmsTemplateCode() {
		return smsTemplateCode;
	}

	public String getSmsTemplateContent() {
		return smsTemplateContent;
	}
}
